dnl This file describes the messages needed only in this test
#include <string>

using namespace std;
///////////// DECRYPT MESSAGE  ////////////

/** Message used in the EventProcessor unit test. 
    It is send by the Controller to the Decrypter
    
    Arguments:
	string: string to be decrypted
	sender: which controller sent the message	

    */


M4_CREATE_MESSAGE_TYPE(DecryptMessage,
</(id, int),(cipher, string)/>,
</(sender, EventProcessor)/>)

///////////// DONE MESSAGE ///////////

/** Message send by the Decrypter to the Controller signalling that the particular block has been decrypted

    Arguments: 
	string: string that has been decrypted
	sender: the Decrypter which is finished
*/
M4_CREATE_MESSAGE_TYPE(DoneMessage,
</(id, int),(plain, string)/>,
</(sender, EventProcessor)/>)


//// CREATED DECRYPTER MESSAGE ////
/** Message send by the Decrypter to the Controller signalling its creation
*/
M4_CREATE_MESSAGE_TYPE(CreatedDecrypterMessage,
  </(id,int)/>,</(sender, EventProcessor)/>)

//// DECRYPTERS DONE MESSAGE ////
M4_CREATE_MESSAGE_TYPE(DecryptersDoneMessage,
  </(id,int)/>,</(sender, EventProcessor)/>)






